# -*- coding: utf-8 -*-
import numpy as np

if __name__ == '__main__':
    # ndarray  多维数组
    rand = np.random.rand(2, 3)
    print rand
    print type(rand)
    print "维度个数", rand.ndim
    print "各维度大小",rand.shape
    print "数据类型", rand.dtype
